package com.server.modules.api.dao;

import com.server.common.persistence.annotation.MyBatisDao;
import com.server.modules.api.vo.FileVO;
import com.server.modules.api.vo.LoanDto;
import com.server.modules.api.vo.LoanTypeListVo;
import com.server.modules.api.vo.MaterialTypeEx;
import com.server.modules.sys.entity.material.MaterialType;
import com.server.modules.sys.entity.material.MaterialUpload;

import java.util.List;

/**
 * Created by Administrator on 2016/9/8.
 */
@MyBatisDao
public interface LoanMaterialtypeReAPIDao {
    /**
     * @param vo
     * @return
     */
    public List<MaterialTypeEx> getMaterialTypeByLoanId(LoanTypeListVo vo);

    /**
     * @param vo
     * @return
     */
    public List<MaterialTypeEx> getMaterialDetailById(LoanTypeListVo vo);
    public List<MaterialUpload> getMaterialUpload(FileVO fileVO);
    public List<MaterialType> getMaterialTypeName();
    public List<MaterialType> getMaterialTypeNames();
    public List<LoanDto> getMaterialTypeLoan(List<String> ids);
}
